#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "ini.h"
#include "common.h"
#include "register.h"

void process_section0(int *ep, BaseInfo_t *ti)
{
    printf("command: Section0 \n");
}

void process_section1(int *ep, BaseInfo_t *ti, void* data) {
    printf("command: Section1 \n");
    // 接口调用
    func1(getEp("abc"), ti, (Section1Data*)data);
    // 打印结果
    printf("this is func1 result. \n");
}

void process_section2(int *ep, BaseInfo_t *ti, void* data) {
    printf("command: Section2 \n");
    // 结构调用
    func2(getEp("abc"), ti, (Section2Data *)data);
    // 打印结果
    printf("this is func2 result. \n");
}
